package com;

import java.util.Date;

import com.ecbt.rest.util.DateUtil;

public class TestDiffDate {

	public static void main(String[] args) {
		Date fuDate = DateUtil.str2Date("2021-09-13", "yyyy-MM-dd");
		Long diff = fuDate.getTime() - new Date().getTime();
		System.out.println(diff);
		System.out.println(diff / 1000/ 60 /60 /24);

	}

}
